CC := gcc

# vpath %.c src:lvgl-7.5.0/src/lv_core:lvgl-7.5.0/src/lv_draw:lvgl-7.5.0/src/lv_font:lvgl-7.5.0/src/lv_gpu:lvgl-7.5.0/src/lv_hal:lvgl-7.5.0/src/lv_misc:lvgl-7.5.0/src/lv_themes:lvgl-7.5.0/src/lv_widgets
# vpath %.h src:lvgl-7.5.0/src/lv_core:lvgl-7.5.0/src/lv_draw:lvgl-7.5.0/src/lv_font:lvgl-7.5.0/src/lv_gpu:lvgl-7.5.0/src/lv_hal:lvgl-7.5.0/src/lv_misc:lvgl-7.5.0/src/lv_themes:lvgl-7.5.0/src/lv_widgets
# vpath %.o src:lvgl-7.5.0/src/lv_core:lvgl-7.5.0/src/lv_draw:lvgl-7.5.0/src/lv_font:lvgl-7.5.0/src/lv_gpu:lvgl-7.5.0/src/lv_hal:lvgl-7.5.0/src/lv_misc:lvgl-7.5.0/src/lv_themes:lvgl-7.5.0/src/lv_widgets

SRC_FILE :=
INC_FILE :=
objects := 
SRC_FILE += $(wildcard *.c src/*.c) \
			$(wildcard *.c src/lv_core/*.c) \
			# $(wildcard *.c src/lv_draw/*.c) \
			# $(wildcard *.c src/lv_font/*.c) \
			# $(wildcard *.c src/lv_gpu/*.c) \
			# $(wildcard *.c src/lv_hal/*.c) \
			# $(wildcard *.c src/lv_misc/*.c) \
			# $(wildcard *.c src/lv_themes/*.c) \
			# $(wildcard *.c src/lv_widgets/*.c)
INC_FILE += $(wildcard *.h ./*.h) \
			$(wildcard *.h src/*.h) \
			$(wildcard *.h src/lv_core/*.h) \
			# $(wildcard *.h src/lv_draw/*.h) \
			# $(wildcard *.h src/lv_font/*.h) \
			# $(wildcard *.h src/lv_gpu/*.h) \
			# $(wildcard *.h src/lv_hal/*.h) \
			# $(wildcard *.h src/lv_misc/*.h) \
			# $(wildcard *.h src/lv_themes/*.h) \
			# $(wildcard *.h src/lv_widgets/*.h)
objects += $(SRC_FILE:%.c=%.o)

all: $(objects)

%.o: %.c
	$(CC) -c $<

# all: $(objects)


.PHONY: clean
clean:
	-rm -v $(objects)

